import axios from '../../http/request'

export function addCart(params: any) {
  return axios.post('/shop-cart', params);
}
//新增试用
export function addtrilal(params: any) {
  return axios.post('/api/trila', params);
}
//查询
export function gettrila(params: any) {
  return axios.get('/api/trila', params);
}

//消息列表
export function noticelist(data: any) {
  return axios.get('/api/app/notices', {params:data});
}

//删除
// export function deltrila(ids: any) {
//  // console.log(params,'paramsparamsparamsparamsparamsparams');
  
//   return axios.delete('/api/trila',ids);
// }
export function deltrila(keys:any) {
  return axios({
    url: '/api/trila',
    method: 'delete',
    data: keys 
  })
}



